package com.familydoctor.util;

import cn.hutool.core.util.NumberUtil;

/**
 * @program: tool
 * @description:
 * @author: tmz
 * @create: 2020-10-10 17:39
 */
public class StringCustomUtils {
    public static Integer getNumByStr(String str){
        String num = str.replaceAll("\\D", "");
        return NumberUtil.parseInt(num);
    }
}
